Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 4 - Geometric Operations / Geometric Operations Reference
Functions


Finding Geometric Information About Shapes

The functions described in this section calculate geometric information about a shape.

The GXGetShapeLength function calculates the length of a particular contour or of all contours in a shape.

The GXShapeLengthToPoint function determines the point that falls at a specified distance along a particular contour or along all combined contours of a shape.

The GXGetShapeCenter function determines the center point of a particular contour of or all combined contours of a shape's geometry.

The GXGetShapeArea function calculates the area covered by a particular contour or by all combined contours of a shape's geometry.

You can also use the GXGetShapeBounds function, described on page 4-90, to find geometric information about a shape--in this case, the shape's bounding rectangle.


Subtopics
GXGetShapeLength
GXShapeLengthToPoint
GXGetShapeCenter
GXGetShapeArea

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help